export const unlessPath = [
  /^\/api\/account\/login/,
  /^\/api\/account\/test/,
  /^\/api\/account\/sendCode/,
  /^\/api\/account\/register/,
  /^\/api\/account\/verifyCode/,
  /^\/api\/account\/forgetPassword/,
  /^\/api\/account\/getAccountInfo/,

  /^\/api\/video\/getList/,
  /^\/api\/video\/getVideoDetail/,
  /^\/api\/video\/getVideoComment/,
  /^\/socket.io/,
  /^\/api\/sever\/getCode/,
  /^\/api\/sever\/check/,
  /^\/api\/sever\/addMsg/,
  /^\/api\/common\/*/,
  /^\/api\/luoming\/getToken/,
  /^\/api\/tools\/*/,
  /^\/api\/tools\/*/,
  /^\/api\/*/,
]

/**
 * type 0 -- 注册， 1 -- 登录, 3 -- 修改东西
 */
export const opType = {
  register: 0,
  login: 1,
  modify: 2,
}

// 每天的免费token数量
export const FREE_TOKEN = 2000;